]> dgit.raspbian.org Git - gnome-shell.git/commit
dnd: Avoid division by zero, etc for zero-size actors
authorAlexander Larsson <alexl@redhat.com>
Fri, 4 Mar 2011 13:21:17 +0000 (14:21 +0100)
committerAlexander Larsson <alexl@redhat.com>
Wed, 9 Mar 2011 09:27:36 +0000 (10:27 +0100)
commit72120bb87fe34895cd52e3e17eb7f020ab6950a7
treeafa997c2e36f85280713474df465d0ee9626e746
parent7eaca86bf1d778075ee27edc1bbf2ea2423dc882
dnd: Avoid division by zero, etc for zero-size actors

When rescaling due to a possible parent actor resize avoid problems
if the parent width is zero.

https://bugzilla.gnome.org/show_bug.cgi?id=643786
js/ui/dnd.js